<?php
if(Auth::is_valid())
{
     echo "<br>Usuario: ";
     echo Auth::get('username_usu');
}
else
{
    echo "<br><center>";
    echo "<table id='box-table-login'>";
    echo Form::open('usuario/autenticar');
    echo "<tr>";
    
    echo "<td>";
    echo Form::label("Usuario: ", "username_usu");
    echo "</td>";
    
    echo "<td>";
    echo Form::text("username_usu","size='12'");
    echo "</td>";
    echo "</tr>";
    
    echo "<tr><td>";
    echo Form::label("Contraseña: ", "password_usu");
    echo "</td>";
    echo "<td>";
    echo Form::pass("password_usu","size='12'");
    echo "</td>";
    echo "</tr>";
    
    echo "<tr>";
    echo "<td colspan=2>";
    echo Form::submit('Ingresar',"class='botonLogin'");
    echo "</td>";
    echo "</tr>";
    echo "</table>";
    echo "</center><br>";
    echo Form::close();
}
?>